package com.renli.service;

import com.renli.bean.ResultJson;
import com.renli.pojo.Question;

import java.util.List;
import java.util.Map;

public interface QuestionService {
    ResultJson<List<Question>> find(Map<String, Object> map);

    ResultJson add(Question question);

    ResultJson del(Integer id);

    ResultJson update(Question question);
}
